#include "../libconvert.h"
#include <stdio.h>

void showSlice(GoSlice p) {
	char** sv = (char**)p.data;
	for(int i=0;i<p.len;i++) {
		printf("%s\n",sv[i]);
	}
}

int main(int argc, char **argv) {
	GoSlice p;
	p = IMPushc('0');
	printf("str: 0\n");
	showSlice(p);
	IMPushc('6');
	p = IMPushc('3');
	printf("str: 063\n");
	showSlice(p);
	IMClean();
	IMPushc('3');
	p = IMPushc('0');
	printf("str: 30\n");
	showSlice(p);
}
